package tmooc._0508.Animal_01;

public class Test {
    public static void main(String[] args) {
        Dog dog1 = new Dog("小白", 2, "黑");
        dog1.eat();
        dog1.drink();
        dog1.lookhome();

        Dog dog2 = new Dog("小黄", 2, "白");
        dog2.eat();
        dog2.drink();
        dog2.lookhome();

        Dog dog3 = new Dog("小强", 2, "黄");
        dog3.eat();
        dog3.drink();
        dog3.lookhome();

        Chick chick = new Chick("黄黄", 1, "棕");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Chick chick1 = new Chick("嘿嘿",2,"白");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();

        Chick chick2 = new Chick("粑粑",2,"屎");
        chick2.eat();
        chick2.drink();
        chick2.layEggs();

        Fish Fish = new Fish("粑粑",2,"屎");
        Fish.eat();
        Fish.drink();





    }
}
